/**
 * Created by minigci.he on 16/9/21.
 */
console.log('---------------------')
console.log('test16')

let map = new Map([
    [1, 'one'],
    [2, 'two'],
    [3, 'three']
])

console.log([...map.keys()])    // [1, 2, 3]
console.log([...map.values()])  // ["one", "two", "three"]
console.log([...map.entries()]) // [[1, 'one'],[2, 'two'],[3, 'three']]
console.log([...map])           // [[1, 'one'],[2, 'two'],[3, 'three']]